package com.lib.torment.androidlib.exception;

/**
 * Retrofit异常处理
 * Created by Torment on 2016/9/5.
 */
public class RetrofitException extends Exception {
    public String code;
    public String message;

    public RetrofitException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}